Generalize the file-name specific workaround in minibuffer-completion-help
authorDmitry Gutov <dmitry@gutov.dev>
Thu, 11 Apr 2024 00:57:09 +0000 (03:57 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Thu, 11 Apr 2024 00:57:09 +0000 (03:57 +0300)
commit0288bc6c949e82f72790a60d067da31428ca433a
tree5e5fee678c2b5ab4f04db4e60e878992e58ebe23
parentca528f7c6ac9b907564298bc96663579d09f9434
Generalize the file-name specific workaround in minibuffer-completion-help

* lisp/minibuffer.el (completion-base-suffix):
New function (bug#48356).
(minibuffer-completion-help): Use it here.
(minibuffer-completion-help): Cut off the double completion
boundary when it occurs inside
completion-list-insert-choice-function..
lisp/minibuffer.el